package com.wisezone.permission.dao;

import java.util.List;

import com.wisezone.common.dao.BaseDao;
import com.wisezone.common.exception.WzDaoException;
import com.wisezone.permission.bean.entity.WzRoleEntity;

/**
 * 
 *角色; InnoDB free: 24576 kB
 * 
 * @author create by create date 2010-07-29 14:44:46 update date 2010-07-29
 *         14:44:46
 * 
 */
public interface WzRoleDao extends BaseDao {

	/**
	 * 获得角色列表
	 * 
	 * @param id
	 * @return
	 * @throws WzDaoException
	 */
	public List<WzRoleEntity> listByUserId(Long id) throws WzDaoException;

}